package com.frxuexi.mynews.state

import com.frxuexi.mynews.entity.NewsTypeEntity

sealed class NewsTypeState {
    data class onSucess(val data:List<NewsTypeEntity>):NewsTypeState()
    data class onError(val msg:String):NewsTypeState()
    object Loading:NewsTypeState()
}